package com.study.pojo;

import java.util.Date;

/**
 * 用户表
 * @Author Miss kun
 * @Date 2020/10/8 20:05
 * @Version 1.0
 */
public class User {

    private Integer id;

    private String username;

    private String password;

    private String phone;

    private String email;

    private String photo;

    private String qq;

    private String nickname;


    /**
     * 查看用户状态
     */
    private int status;

    /**
     * 性别
     */
    private String sex;

    private Date date;

    public User(String password, String phone, String qq) {
        this.password = password;
        this.phone = phone;
        this.qq = qq;
    }


    public User() {
    }

    public User(String phone, String password) {
        this.password = password;
        this.phone = phone;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }


    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", phone=" + phone +
                ", email='" + email + '\'' +
                ", photo='" + photo + '\'' +
                ", qq=" + qq +
                ", nickNack='" + nickname + '\'' +
                ", status=" + status +
                ", sex='" + sex + '\'' +
                ", date=" + date +
                '}';
    }
}
